Repository navigation
docs(spec,qa): entry 17 and the ai checklist stop prescribing run_action confirm: true - #34532
Conversation
…ion confirm: true The tool-requires-confirmation-retired migration entry told an upgrading author to send the confirmation member confirm: true on the request at the MCP run_action door. run_action and resume_run now refuse any call that carries confirm (maintainer ruling 6909355256, option A). The entry's replacement and acceptanceCriteria now state the door's answer: the person confirms, in an elicitation-capable client or in the app (pending_confirmation), a server with no pending-confirmation service refuses 428 ACTION_CONFIRMATION_REQUIRED with details.reason no_confirmation_service, and the call is sent without the member. ai.mcp-run-action-exposure-gate (revision 8): the EXPOSED half calls revoke_api_key member-free and expects the confirmation step's refusal on the stock showcase, with the probe key not revoked. Text only: no schema, key or runtime behaviour moves. Claude-Session: https://claude.ai/code/session_01ADHkmPJxG4vBVaLCBWLcWJ Co-authored-by: Claude <noreply@anthropic.com>
…try17-confirm-text
📓 Docs Drift Check1 anchor(s) derived from 1 changed package(s); no hand-written page names any of them, so this run has nothing to list — not a clean bill of health. This check sees only pages that NAME a derived anchor: one that documents this change in prose, or enumerates it in an authoring dialect, names none and stays invisible to it on every run. What this run could not see
Coarse fallback — 173 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): Which tree this was computed onThis run read A worktree cut from an older # while this PR is open — GitHub drops the merge commit once it closes
git fetch origin 25aee63433439ca028574036e36f669276507817 && git checkout 25aee63433439ca028574036e36f669276507817
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin ec6b5fd3464ce5413691a7cab810d1c19db50182 43d3e41fed67a1ead21d20b0b0666e45f7825175 && git checkout -B drift-repro ec6b5fd3464ce5413691a7cab810d1c19db50182 && git merge --no-ff 43d3e41fed67a1ead21d20b0b0666e45f7825175
node scripts/docs-audit/affected-docs.mjs --json ec6b5fd3464ce5413691a7cab810d1c19db50182 |
|
l2-review#4 · os-steve · session_01ADHkmP44onN8RMzsPMqjRq Contract-review-claim: session_01ADHkmP44onN8RMzsPMqjRq · head 43d3e41 · 2026-11-17T00:15Z |
|
l2-review#4 · os-steve · session_01ADHkmP44onN8RMzsPMqjRq Contract reviewServed-tier: Inputs read: card #34387 (body and all 4 comments), PR #34532 (body, 3-file list, both comments), the net diff of the head against the main it merged (second parent 0e2ead3; 3 files, 63 insertions, 33 deletions), and the check-runs on the head. Read, not reviewed, on that main: ruling 6909355256 on #34209, ① Derived judgments
② Semver levelClause-②: no The changeset ③ Boundary flags
④ Design judgmentpackages/spec/src/migrations/entries/semantic/17.tool-requires-confirmation-retired.ts, each claim checked against the ruling, the gate code on main and the guidance entry:
N1 (nit) — No must-fix, no should-fix. Implemented-by: VERDICT: PASS |
|
repo:objectstack#2 · os-steve · session_01ADHkmPJxG4vBVaLCBWLcWJ Final head · 2026-11-17T00:36Z
|
|
repo:objectstack#2 · os-steve · session_01ADHkmSmxJiAWk7fuq3Q1Sf 席位核对L1 verdict: ACCEPT · card #34387 · area o2-A · first review · read at 2026-11-17T00:38Z Checklist, read against GitHub and the head tree, not against the report:
L2 owed: yes, and it is in. Landing tier. |
|
repo:objectstack#2 · os-steve · session_01ADHkmPJxG4vBVaLCBWLcWJ Landing · 2026-11-17T00:39Z · head
L1 ACCEPT 6933957385 and contract review PASS 6933569098 on this head. Ready for review and auto-merge through the queue; #34387 closes with the merge. |
Fixes #34387
Clause-②: no
Metadata-protocol: none
维护者速读
tool.requiresConfirmation”这一条(迁移条目 17)不再教作者给 MCPrun_action发confirm: true,改为写明现在的门:由本人确认(支持 elicitation 的客户端里当场问,否则交回应用、答pending_confirmation),没有确认服务的服务器答 428no_confirmation_service,调用不带confirm;AI 平台测试清单里revoke_api_key那一步同步改为不带该成员的调用,并写出新的预期答案。run_action/resume_run一律拒收confirm(维护者裁决 6909355256,选项 A),旧文字会把升级的作者和跑清单的 QA 直接带进拒收。packages/spec/src/migrations/entries/semantic/17.tool-requires-confirmation-retired.ts(replacement与acceptanceCriteria两段)、docs/qa/platform-checklist/areas/ai.json(ai.mcp-run-action-exposure-gate的 steps[6] 与 acceptance[4],revision 8)。git grep -n 'confirm: true' -- packages/spec/src/migrations/entries/semantic/17.tool-requires-confirmation-retired.ts docs/qa/platform-checklist/areas/ai.json,预期只剩条目 17 里“旧运行时仍按调用方的confirm: true放行”那一句历史说明,清单里零命中。What changes
Ruling of record: maintainer ruling 6909355256 on #34209 (option A), landed by #34358 (
8c6ddc58f2). The text below was written againstorigin/mainbdd51769, from the code, not from memory:packages/mcp/src/mcp-http-tools.ts:run_actionandresume_rundeclare noconfirm; a call carrying it is refused by the closed input with theRETIRED_CONFIRMATION_MEMBERprescription, on every action and fortrueandfalsealike (pinned inmcp-action-confirmation-handoff-33690.test.ts).packages/runtime/src/action-dispatch.tsadmitResolvedAction: the confirmation step runs aftersystemObjectActionExposureErrorand every other admission gate.packages/runtime/src/action-execution.tshandOffActionConfirmation: a registered pending-confirmation service answersstatus: 'pending_confirmation'; none answers 428ACTION_CONFIRMATION_REQUIREDwithdetails.reason: 'no_confirmation_service'. The open build registers no such service (the only reader ofACTION_CONFIRMATION_SERVICEoutside tests is the runtime).packages/mcp/src/action-confirmation-elicitation.ts: only a server that read the client'sinitialize(the stdio door) can elicit; the Streamable HTTP door hands off.The edits:
tool-requires-confirmation-retired(replacement,acceptanceCriteria;reasonuntouched). It no longer tells an author to carryconfirm: trueon the request at therun_actiondoor. It states the door's answer: the person confirms, in an elicitation-capable client or in the app (pending_confirmation), a server with no pending-confirmation service refuses 428 withdetails.reasonno_confirmation_service, and both tools refuse a call carryingconfirm. The wording followsTOOL_RETIRED_KEY_GUIDANCE.requiresConfirmationinpackages/spec/src/ai/tool.zod.ts, which feat(mcp,spec)!: run_action and resume_run refuse the retired confirm member — confirmation happens in the app, by the person #34358 already moved. The two bounds stay (theai.exposeddoors, now namingresume_runtoo; the REST/actionscarve-out and the AI-service-account rule). The second half of the old bound, "confirm: trueis an unverifiable caller claim, so the gate makes forgetting loud without proving a human approved", described the retired gate, so it is replaced with the guidance entry's other bound: only the author's declaredtrueasks the person, and the listing heuristic never gates. Dropped too: "A gate, not a queue: nothing is parked", which a hand-off contradicts. One parenthesis says a runtime from before the hand-off release still gated on the caller'sconfirm: trueand points toaction-requires-confirmation-elicited, the entry that says how to tell which runtime you run.ai.mcp-run-action-exposure-gate(revision 7 → 8, history entry added). steps[6] callsrevoke_api_keywith noconfirmmember. acceptance[4]'s EXPOSED half now expects the confirmation step's refusal on the stock showcase (HTTP door, no pending-confirmation service):isError,ACTION_CONFIRMATION_REQUIRED, 428,details.reason: 'no_confirmation_service', probe key not revoked. That refusal is reached only after the system-object guard, so the half still proves the guard passed. Itsverify, itsevidenceandfixtures.requires[4]'s last sentence ("The probe key stays revoked after the run") moved with it. Without those edits the same item would contradict its own step. They are the same clause's oracle, in the same file the claim names. The REFUSED half andnegative[]are unchanged. The answer matchesmcp-system-object-action-exposure.dogfood.test.ts, where the administrator's member-freeban_usergets the same refusal..changeset/34387-entry17-confirm-text.md:@objectstack/specpatch. The entry ships in the package'sdistand is projected byos migrate metaand the upgrade guide.No test pins entry 17's text verbatim.
git grepfor its phrases outside the entry hits onlypackages/spec/CHANGELOG.md, which is release-owned and was left alone.tool-confirmation-prescription-tense.pin.test.tspins theToolSchemaguidance carrier, not this entry.semantic-relevance.test.tsandpackages/cli/test/migrate-meta-engine-guidance.test.tsname the entry by id only. No test was changed.Tests
Readings at head
43d3e41fed(this branch withorigin/main0e2ead3c18merged; the merge broughtpackages/specchanges, so the build and the spec runs were redone after it).Scoped suites: green
turbo run build --filter=!@objectstack/docs --concurrency=2(Tasks: 119 successful, 119 total), thenpnpm --filter @objectstack/spec check:generated("All 14 generated artifacts are up to date"), thenpnpm --filter @objectstack/spec exec vitest run --maxWorkers=2 src/migrations src/ai(Test Files 21 passed (21),Tests 619 passed (619)), thenpnpm --filter @objectstack/spec typecheck. Result:VERDICT command-exit 0.aed0bede(21/21 files, 619/619 tests).pnpm check:platform-checklist(the checklist validator, including its revision/history check): exit 0, from the gate run below.No ablation: the diff changes no tested behaviour (prose and a checklist document only).
Acceptance notes
test:repoand the dogfood battery belong to CI (the title has no!and there is no(narrowing)arm).Verification
node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstackat43d3e41fedderived 83 commands for the three changed paths. Each was run with stdin from/dev/nulland its exit code taken before any pipe. All 83 answered exit 0.--ranreconciliation: "83 derived, 83 run, 0 NOT-MEASURED, 0 UNRUN".Prerequisites met before the counted run
A first pass at
aed0bedeanswered exit 3 (prerequisite not met) on four commands:check-plugin-teardown-shape.mjs --self-testneeded a deeper clone, andcheck:doc-formula-expressions,check:dual-build-cjs-loadsandcheck:lean-entry-closureneeded built packages. Aftergit fetch --unshallow origin mainand the full build, all 83 passed at the final head.The families CI alone runs (Test Core with
test:repo, the type-check lanes, Build Core) are left to this PR's check-runs.Generated by Claude Code